#include "processbardialog.h"
#include "ui_processbardialog.h"



ProcessBarDialog::ProcessBarDialog(QWidget *parent) :
    QDialog(parent),
    IDialog(),
    ui(new Ui::ProcessBarDialog)
{
    ui->setupUi(this);
    this->setWindowFlags(Qt::FramelessWindowHint);
    this->setGeometry(this->getCenter(this->geometry().width(),this->geometry().height()));
}

ProcessBarDialog::~ProcessBarDialog()
{
    delete ui;
}

void ProcessBarDialog::setMessage(const QString &message){
    Q_UNUSED(message);
}

void ProcessBarDialog::setProcessBarVisible(bool visible){
    Q_UNUSED(visible);
}

void ProcessBarDialog::setProcessBarValue(int value){
    Q_UNUSED(value);
}

int ProcessBarDialog::getProcessBarVaule(){
    return 0;
}

void ProcessBarDialog::setButtonEnable(bool enable){
    Q_UNUSED(enable);
}

void ProcessBarDialog::setButtonVisible(bool visible){
    Q_UNUSED(visible);
}


void ProcessBarDialog::on_Btn_Cancel_clicked()
{
    this->reject();
}
